EfficientDetD2

This model is a real-time neural network for object detection that detects 90 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Coco.V2017.labels method).

Internally it uses the EfficientNets as backbone networks.

The model have an input with the shape is (1x768x768x3) by default. H and W could be changed by user to any values.

The model has 1 output:

  • detections:0 with 7 numbers as [unknown number, ymin, _xmin_, ymax, xmax, score, coco label].

NOTE: The detections are limited to 100.

See also

Functions

model
Link copied to clipboard
open fun model(modelHub: ModelHub): OnnxInferenceModel
pretrainedModel
Link copied to clipboard
open override fun pretrainedModel(modelHub: ModelHub): EfficientDetObjectDetectionModel

Properties

inputShape
Link copied to clipboard
open override val inputShape: LongArray

Shape of the input accepted by this model, without batch size.

modelRelativePath
Link copied to clipboard
open override val modelRelativePath: String
preprocessor
Link copied to clipboard
open val preprocessor: Operation<Pair<FloatArray, TensorShape>, Pair<FloatArray, TensorShape>>